#ifndef XPMDOC_DAL_BLOCK_XML_HANDLER_H
#define XPMDOC_DAL_BLOCK_XML_HANDLER_H
#include "dal/XmlHandler.h"
#include "model/XpmTermDoc.h"
#include "model/XpmTermBlock.h"
namespace xpm {
	class BlockXmlHandler : public XmlHandler {
	public:
		BlockXmlHandler(DOMDocument* doc, DOMNode* node, XpmTermBlock* block):_node(node), XmlHandler(doc), _block(block) {}
		virtual ~BlockXmlHandler() {}
		virtual void Parse();
		virtual void Serialize();
	private:
		XpmTermBlock* _block;
		DOMNode* _node;
	};
}

#endif